package com.example.qxfw.backgroundManagement.service;

import com.example.qxfw.rcyw.pojo.JobMake;

import java.util.Date;
import java.util.List;

/************************************
 *
 * @author : HuangDeYin Jolly
 * @since : JDK 11
 * @Date : 2023/7/3  星期一   14:37
 * @description : 此类用来 排班管理的业务接口
 ***************************************/
public interface WorkforceManagementService {

    List<JobMake> selectJobType();

    List<JobMake> selectJobNameAndJobType( String nameType, String jobName);

    List<JobMake> selectJobName(String nameType);

    Integer insertJobMark(String jobName, String nameType, Date recentMakeTime);

    Integer updateJobMark(JobMake jobMake);

    Integer deleteJobMark(int id);
    //批量导入业务信息-清除旧数据
    Integer importJobMark(List<JobMake> jobMake);

    //批量导入业务信息-保留旧数据
    Integer importJobMark1(List<JobMake> jobMakelist);

    Integer updateJobMark2(JobMake jobMake);

    //查询所有业务信息
    List<JobMake> listJobMark();


}
